#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

/*
#define SQUARE(x) (x) * (x)

int main()
{

	//printf("file:%s line:%d\n", __FILE__, __LINE__);


	return 0;
}
*/


#define GENRIC_MAX(type)	  \
type type##_max(type x,type y)\
{							  \
	return (x>y?x:y);		  \
}


GENRIC_MAX(int);
GENRIC_MAX(float);


int main()
{
	int r1 = int_max(3, 5);
	printf("%d\n", r1);

	float r2 = float_max(3.1f, 4.5f);
	printf("%f\n", r2);
	return 0;
}

